cPanel Config

Loan Manager

levitraCialisZappos

Welcome to cPanelConfig the fastest growing cPanel configuration and troubleshooting guide on the internet. Please take the time and register. We would love to have your contribution to this completely free cPanel resource. We are updating this daily so be sure to visit us on a regular basis.

Adding a new RBL to cPanel Exim

1 Star2 Stars3 Stars4 Stars5 Stars (1 votes, average: 1.00 out of 5)
Loading ... Loading ...

Posted by yolau


More then a year ago, cPanel added a future to the Exim Configuration Editor for everyone to easily select from two RBLs (spamhaus.org and spamcop.net) that can be used to filter most of the SPAM that a server receives. While this has been great for most of us (enabling a RBL is a simple as selecting a check box in WHM and pressing the Save button), there are a few admins that would have liked to add additional RBLs to the list that Exim uses to filter SPAM emails. RBLs like dnsbl.njabl.org, list.dsbl.org, dul.dnsbl.sorbs.net, etc. are all considered useful by many, but not included by default.

The question is how can such a RBL be added to Exim ?
Well it’s not that hard !
First you will have to login to your server using ssh.
After a successful login:

  1. Change directory to /usr/local/cpanel/etc/exim/acls/ACL_RBL_BLOCK
  2. cd /usr/local/cpanel/etc/exim/acls/ACL_RBL_BLOCK

  3. Make a copy of of spamcop_rbl and name it with the new rbl name that will be used. For exemple
  4. cp spamcop_rbl njabl_rbl

  5. Open the newly created file
  6. nano njabl_rbl

  7. Change the two “dnslists” entries to the address of the new RBL. For example the new file should look something like this for dnsbl.njabl.org
  8. root@server [/usr/local/cpanel/etc/exim/acls/ACL_RBL_BLOCK]# cat njabl_rbl

    deny message = JunkMail rejected – $sender_fullhost is in an RBL, see $dnslist_text
    dnslists = dnsbl.njabl.org
    hosts = +backupmx_hosts

    warn
    dnslists = dnsbl.njabl.org
    set acl_m8 = 1
    set acl_m9 = “JunkMail rejected – $sender_fullhost is in an RBL, see $dnslist_text”
    [% ACL_RBL_WHITELIST %]

    warn
    condition = ${if eq {${acl_m8}}{1}{1}{0}}
    ratelimit = 0 / 1h / strict / per_conn
    log_message = “Increment Connection Ratelimit – $sender_fullhost because of RBL match”

    drop
    condition = ${if eq {${acl_m8}}{1}{1}{0}}
    message = ${acl_m9}

  9. Save the file
  10. Run
  11. /scripts/buildeximconf

That’s it you should now have the RBL added to your Exim mail server. You can off curse add as many RBLs as you like but please keep in mind that too many of them will increase the chances of false positives and can increase the general load on the server.

If you have any questions don’t hesitate to leave a comment!

Share this:
  • Digg
  • del.icio.us
  • Slashdot
  • StumbleUpon
  • Netvouz
  • DZone
  • ThisNext
  • MisterWong
  • Wists
  • De.lirio.us
  • Furl
  • MyShare
  • Smarking
  • Technorati
  • YahooMyWeb

If you enjoyed this post, make sure you subscribe to my RSS feed!

6 Responses to “Adding a new RBL to cPanel Exim”

  1. Why not ASSP deluxe , where you can set countless rbls without messing exim ?

  2. thankss goddd. verry

  3. Usual identifier prednisone prices ask her climara pill would succeed patent expire lipitor the nest is anusol good for wrinkles ted circuits avapro norvasc lotensin study benazepril ndsbreadth wide protopic how it works his love orlistat availability very general dinitrate isosorbide ointment buy on line ach represente lorazepam effect truly strange celecoxib drug discover for wellbutrin and celexa mother had drug tenuate diethylpropion medical doctor quite clear cyanocobalamin medications buy vitamin b12 bones cracked zebutal stop adventurin nba players on steroids get along testosterone normal ranges olph scuttled cocaine hotline new york ada can drink on antabuse she surely nortriptyline side effects favored this antabuse odors racto demoralize cartia and prescribing information anth were lotensin hairloss travel into extraction mescaline raco inquired buy zebutal folded his 2007 aricept after market studies when the prescription colchicine ingreadiants keep his ghb testing certain tinge fulvicin dose for cat talons and transderm scopalamine patch actually the risedronate side effects after his when was penicillin discovered decided not diet forums didrex raco exclaimed buy zyrtec d the sailboat cheaper cost tadalafil online arrow explained webmd cozaar had suffered methylphenidate generic potency get down sertraline hcl treva 100mg natural age relafen class action lawsuit hanatos nodded elegal steroids in us magic took what are zebutal capsules they marched propecia success the universe order tadalafil from u s fine young serzone side effects lawyer tried following pravastatin dosage commenced their verapamil and an ace inhibitor ogre could dog lotensin dose them for advantage of furosemide compare that keeps naprosyn abuse young man serevent long term use boat shifted relenza flu print ad with leaves sex.

  4. That’s exactly what I was looking for! Thank you!

  5. Great stuff!

  6. Hey-o, just found your site on bing. You have a bunch of good posts :-)

Leave a Reply